<div class="cds form">
<?php echo $this->Form->create('Cd');?>
	<fieldset>
 		<legend><?php __('Add Cd'); ?></legend>
	<?php
		if($this->params['pass']==null){
		echo $this->Form->input('hardware_id');}
                else {
                    echo $this->Form->hidden('hardware_id', array('value' => $this->params['pass']['0']));}
		echo $this->Form->input('name');
		echo $this->Form->input('drive');
		echo $this->Form->input('manufacturer');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>